package tuplestore

import "github.com/prometheus/client_golang/prometheus"

func setupMetrics() Metrics {
	return Metrics{
		InsertCount: prometheus.NewCounter(prometheus.CounterOpts{
			Name: "tuple_store_insert_total",
			Help: "Total number of tuple insertions",
		}),
		InsertDuration: prometheus.NewHistogram(prometheus.HistogramOpts{
			Name: "tuple_store_insert_duration_seconds",
			Help: "Duration of tuple insert operations",
		}),
		MergeCount: prometheus.NewCounter(prometheus.CounterOpts{
			Name: "tuple_store_merge_total",
			Help: "Total number of merge operations",
		}),
		MergeDuration: prometheus.NewHistogram(prometheus.HistogramOpts{
			Name: "tuple_store_merge_duration_seconds",
			Help: "Duration of merge operations",
		}),
		SegmentCount: prometheus.NewGauge(prometheus.GaugeOpts{
			Name: "tuple_store_segments_total",
			Help: "Total number of segments",
		}),
		BlockCount: prometheus.NewGauge(prometheus.GaugeOpts{
			Name: "tuple_store_blocks_total",
			Help: "Total number of blocks",
		}),
		DeltaStoreSize: prometheus.NewGauge(prometheus.GaugeOpts{
			Name: "tuple_store_delta_size_bytes",
			Help: "Size of delta stores in bytes",
		}),
		MainStoreSize: prometheus.NewGauge(prometheus.GaugeOpts{
			Name: "tuple_store_main_size_bytes",
			Help: "Size of main stores in bytes",
		}),
	}
} 